package org.springsource.domain;

import org.springframework.core.NestedRuntimeException;

@SuppressWarnings("serial")
public class AccountNotFoundException extends NestedRuntimeException {

	private final String number;

	public AccountNotFoundException(String number) {
		super("Account not found: " + number);
		this.number = number;
	}

	public String getNumber() {
		return number;
	}

}